import {requestGet,requestPost} from"../utils/request/request.js"


/**
 * 登录用户的考试数据统计
 * @param {*} obj 
 */
export const getUserStatistics=(obj)=>{
  return requestGet("api/Client/GetUserStatistics",obj)
}


/**
 * 获取我的刷题数据统计
 */
export const GetPracticeStatistics=(obj)=>{
  return requestGet("api/Client/GetPracticeStatistics",obj)
}


//examing
/**
 * 获取单个考试详情
 * @param {*} obj 
 */
export const getSingleExam=(obj)=>{
  return requestGet("api/Client/GetSingleExam",obj)
}

/**
 * 点击开始考试/继续考试  开始考试/继续考试
 */
export const startExam=(obj)=>{
  return requestGet("api/Client/StartExam",obj)
}

/**
 * 点击交卷 完成试卷
 */
export const JiaoJuan=(obj)=>{
  return requestPost("api/Client/JiaoJuan",obj)
}

/**
 * 获取解析
 */
export const GetAnalysis=(obj)=>{
  return requestGet("api/Client/GetAnalysis",obj)
}

/**
 * 获取成绩
 */
export const GetResult=(obj)=>{
  return requestGet("api/Client/GetResult",obj)
}


